Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: running a character.json fails when running per docs #624

Merged
merged 13 commits into from
Nov 28, 2024

Conversation

yodamaster726
Copy link
Contributor

Relates to: running character.json files

image

fails like this:
image

Risks

Low

Background

Running character file per docs doesn't work. if you put ../ in front of the character file path, it then works.
https://ai16z.github.io/eliza/docs/quickstart/

What does this PR do?

add additional search path of ../ to the code

What kind of change is this?

Small code change to agent/src/index.ts that ../ to the search path, adds some more info/error logging.

Documentation changes needed?

No changes required. Actually, fix makes the documentation work

Deployment instructions

none

Discord username

yoda26

Copy link
Contributor

@monilpat monilpat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for doing this :)

@lalalune lalalune merged commit ddf0de0 into ai16z:main Nov 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants